import request from '@/utils/request'

// 查询企业检查-项目列表
export function listEnterCheckProject(query) {
  return request({
    url: '/enterCheckProject/enterCheckProject/list',
    method: 'get',
    params: query
  })
}

// 查询企业检查-项目详细
export function getEnterCheckProject(id) {
  return request({
    url: '/enterCheckProject/enterCheckProject/' + id,
    method: 'get'
  })
}

// 新增企业检查-项目
export function addEnterCheckProject(data) {
  return request({
    url: '/enterCheckProject/enterCheckProject',
    method: 'post',
    data: data
  })
}

// 修改企业检查-项目
export function updateEnterCheckProject(data) {
  return request({
    url: '/enterCheckProject/enterCheckProject',
    method: 'put',
    data: data
  })
}

// 删除企业检查-项目
export function delEnterCheckProject(id) {
  return request({
    url: '/enterCheckProject/enterCheckProject/' + id,
    method: 'delete'
  })
}
